﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Web.Master" AutoEventWireup="true" CodeBehind="news.aspx.cs" Inherits="UI.news" %>
<%@ Import Namespace="Model" %>
<%@ Import Namespace="DAL" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="product5">
<div class="left"><img src="/img/news5.png"/></div>
<div class="right" style="border-left:2px solid #cdcdcd;width:74.9%; height:800px; margin-left:24%; margin-top:20px;">
    <asp:Repeater ID="Repeater1" runat="server">
    <ItemTemplate>
    <div class="newline"><div class="title" ><a href='/news/newsinfo-<%#Eval("id") %>.html'><%#Eval("name") %></a></div><div class="date"><%# DataConvert.ToDateTime(Eval("createdate")).ToString("yyyy-MM-dd") %></div></div>
    </ItemTemplate>
    </asp:Repeater>
    <div class="divF34">
         <input id="recordcount" type="hidden" value="<%=count%>" />
         <input id="pagesize" type="hidden" value="<%=pagesize%>" />
         <input id="pageindex" type="hidden" value='<%=pageindex%>' />
         <div style="float:right"><script type="text/javascript" src="/js/pager.js"></script></div>
     </div>
</div>
</div>
</asp:Content>
